add_subdirectory(MaaUtils)

if (WITH_ADB_CONTROLLER)
    add_subdirectory(MaaAdbControlUnit)
endif()
if (WITH_WIN32_CONTROLLER)
    add_subdirectory(MaaWin32ControlUnit)
endif()
if(WITH_THRIFT_CONTROLLER)
    add_subdirectory(MaaThriftControlUnit)
endif()
if (WITH_DBG_CONTROLLER)
    add_subdirectory(MaaDbgControlUnit)
endif()

add_subdirectory(LibraryHolder)
add_subdirectory(MaaFramework)
add_subdirectory(MaaToolkit)
add_subdirectory(ProjectInterface)
add_subdirectory(MaaProjectInterfaceCli)

if(WITH_GRPC)
    add_subdirectory(MaaRpc)
endif()

add_subdirectory(binding)
